package base.template;

import java.util.ArrayList;
import java.util.List;

public class GenericVarargs {
	public static <T> List<T> makeList(T... arg){
		List<T> list=new ArrayList<T>();
		for(T item:arg){
			list.add(item);
		}
		return list;
	}
	public static void main(String[] args) {
		List<String>list=makeList("abcdefghijklmnopqrstuvwxyz".split(""));
		System.out.println(list);
	}
}
